package com.alan.libapi.api;

import com.alan.libapi.model.persistent.Parameter;

import java.util.List;


/**
 * PostBaseObject post方法的基本类型
 * @author JajuanWang
 * @date 2015-09-04 02:00
 * @version V1.0
 */
public class ApiHttpRequest<T> {

	private String url;
	
	private List<Parameter> paramList;
	
	private Class<T> responseClass;
	
	public ApiHttpRequest(String url, List<Parameter> paramList,
						  Class<T> responseClass) {
		super();
		this.url = url;
		this.paramList = paramList;
		this.responseClass = responseClass;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public List<Parameter> getParamList() {
		return paramList;
	}

	public void setParamList(List<Parameter> paramList) {
		this.paramList = paramList;
	}

	public Class<T> getResponseClass() {
		return responseClass;
	}

	public void setResponseClass(Class<T> responseClass) {
		this.responseClass = responseClass;
	}
}
